package com.weishenai.customerassistant.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weishenai.customerassistant.entity.Substation;

import java.util.List;

public interface SubstationService extends IService<Substation> {
     Integer insert(Substation substation);


    Integer delSubstation(Integer substationId);

    Integer updateSubstation(Substation substation);

    IPage<Substation> selectAll(Integer pageNumber, Integer pageSize);
    List<Substation> selectAll();


    IPage<Substation> selectByKeyWord(Integer pageNumber, Integer pageSize,String keyWord);

}
